<script setup>
import LevelC from './LevelC.vue'
import { inject, provide } from 'vue'

const rgb = inject('rgbColor')

provide('rgbColor', 'rgb(2, 99, 231)')
</script>

<template>
  <h3>LevelB 组件</h3>
  <p>{{ rgb }}</p>
  <hr />

  <LevelC />
</template>

<style scoped></style>
